import { jsx as _jsx } from "react/jsx-runtime";
import { PureComponent } from "react";
import Tabs from "antd/es/tabs/index";
import classNames from "classnames";
/**
 * ~~~js
 * import { AntTabs  } from 'sright-ui'
 * ~~~
 */
export class AntTabsPanel extends PureComponent {
    render() {
        const { icon, tab, ...resProps } = this.props;
        console.log(this.props, "props------");
        const klass = classNames("cpas-ant-tabs", this.props.className);
        // const Icon = (type: any, i: string) => {
        //   return (
        //     <>
        //       <CpasIcon type={type} /> {i}
        //     </>
        //   );
        // };
        return _jsx(Tabs.TabPane, { ...resProps, className: klass });
    }
}
export default AntTabsPanel;
